from collections import OrderedDict
state_dict = OrderedDict((
    ('fc0.weight', FloatTensor([[6.1440, 6.1724],[8.9765,9.7823]])),
    ('fc0.bias', FloatTensor([-9.2932, -4.4537])),
    ('fc1.weight', FloatTensor([[-7.8489,  7.3517]])),
    ('fc1.bias', FloatTensor([-3.3070])),
))
# 加载模型参数
net.load_state_dict(state_dict)
